/* world.h -- useful global variables and constants, defined in main.cpp
 * world.h is part of Robodrome
 *
 * Copyright (c) 2009 Alex French
 * Robodrome is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * Robodrome is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

#pragma once
#include <gtkmm.h>
#include <audiere.h>
#include "robot.h"
#include "debugger.h"
#define ARENA_HEIGHT 300
#define ARENA_WIDTH 300
#define DEBUG_OFF -1
#define DEBUG_ALL -2

extern unsigned int selected_player;
extern std::vector<Robot> players;
extern Gtk::Dialog *error_dialog;
extern Gtk::Label *error_message;
extern audiere::AudioDevicePtr audio_device;
extern audiere::SoundEffectPtr collision_snd;
extern audiere::SoundEffectPtr death_snd;
extern audiere::SoundEffectPtr gun_snd;
extern audiere::SoundEffectPtr hellbore_snd;
extern audiere::SoundEffectPtr hit_snd;
extern audiere::SoundEffectPtr mine_snd;
extern audiere::SoundEffectPtr missile_snd;
extern audiere::SoundEffectPtr nuke_snd;
extern bool play_snd[8];
enum sounds { COLLISION_SND, DEATH_SND, GUN_SND, HELLBORE_SND, HIT_SND, MINE_SND, MISSILE_SND, NUKE_SND };
extern bool sounds_enabled;
extern bool display_enabled;
extern Debugger *debugger;
extern int use_debugger;
